package ooDay02;

public class AnimalTest {
    public static void main(String[] args) {
        Dog dog = new Dog("萨摩耶",2,"黄");
        dog.eat();
        dog.lookHome();

        Chick chi = new Chick("小鸡",1,"红");
        chi.eat();
        chi.layEggs();

        Fish fish = new Fish("鲤鱼",3,"黄");
        fish.eat();
    }
}
